package com.dwxt.cdms.entity.oufu;

import java.util.Date;

/**
 * @author Long Yan
 * @date 2021/04/20
 */
public class OuFuData {
    private Integer id;

    private String imei;

    /**
     * 4=计步 6=心率 12=温度 14=双温度 10=血糖 8=血压 58=睡眠 24=签到 25=签退 
     */
    private String type;

    /**
     * 数据推送时间
     */
    private Date checkTime;

    /**
     * 步数
     */
    private Integer steps;

    /**
     * 心率
     */
    private Integer heartbeat;

    /**
     * 温度，体温
     */
    private String bodyTemperature;

    /**
     * 腕温
     */
    private String wristTemperature;

    /**
     * 血糖
     */
    private Integer bloodSugar;

    /**
     * 血压
     */
    private Integer bloodPressure;

    /**
     * 舒张压(低压)
     */
    private Integer diastolic;

    /**
     * 收缩压(高压)
     */
    private Integer shrink;

    /**
     * 睡眠开始时间
     */
    private String startTime;

    /**
     * 睡眠结束时间
     */
    private String endTime;

    /**
     * 睡眠类型（sleepType=1,深度睡眠;sleepType=2,浅度睡眠;sleepType=3,醒来时长)
     */
    private Integer sleepType;

    /**
     * 睡眠时长
     */
    private Integer minute;

    /**
     * 客户id
     */
    private Integer customerId;

    private Date createTime;

    /**
     * 信号值
     */
    private String signals;

    /**
     * 电池电量的百分比
     */
    private String battery;

    /**
     * 数据来源
     */
    private String source;

    private Integer bloodOxygen;

    public Integer getBloodOxygen() {
        return bloodOxygen;
    }

    public void setBloodOxygen(Integer bloodOxygen) {
        this.bloodOxygen = bloodOxygen;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei == null ? null : imei.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public Date getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }

    public Integer getSteps() {
        return steps;
    }

    public void setSteps(Integer steps) {
        this.steps = steps;
    }

    public Integer getHeartbeat() {
        return heartbeat;
    }

    public void setHeartbeat(Integer heartbeat) {
        this.heartbeat = heartbeat;
    }

    public String getBodyTemperature() {
        return bodyTemperature;
    }

    public void setBodyTemperature(String bodyTemperature) {
        this.bodyTemperature = bodyTemperature == null ? null : bodyTemperature.trim();
    }

    public String getWristTemperature() {
        return wristTemperature;
    }

    public void setWristTemperature(String wristTemperature) {
        this.wristTemperature = wristTemperature == null ? null : wristTemperature.trim();
    }

    public Integer getBloodSugar() {
        return bloodSugar;
    }

    public void setBloodSugar(Integer bloodSugar) {
        this.bloodSugar = bloodSugar;
    }

    public Integer getBloodPressure() {
        return bloodPressure;
    }

    public void setBloodPressure(Integer bloodPressure) {
        this.bloodPressure = bloodPressure;
    }

    public Integer getDiastolic() {
        return diastolic;
    }

    public void setDiastolic(Integer diastolic) {
        this.diastolic = diastolic;
    }

    public Integer getShrink() {
        return shrink;
    }

    public void setShrink(Integer shrink) {
        this.shrink = shrink;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime == null ? null : startTime.trim();
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime == null ? null : endTime.trim();
    }

    public Integer getSleepType() {
        return sleepType;
    }

    public void setSleepType(Integer sleepType) {
        this.sleepType = sleepType;
    }

    public Integer getMinute() {
        return minute;
    }

    public void setMinute(Integer minute) {
        this.minute = minute;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getSignals() {
        return signals;
    }

    public void setSignals(String signals) {
        this.signals = signals == null ? null : signals.trim();
    }

    public String getBattery() {
        return battery;
    }

    public void setBattery(String battery) {
        this.battery = battery == null ? null : battery.trim();
    }
}